<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<div class="c_pate" style="margin-top: 5px;">
	        <s:if test="pageResult.totalCount > 0">
				<table width="100%" class="pageDown" border="0" cellspacing="0"
					cellpadding="0">
					<tr>
						<td align="right">
		                 	总共<s:property value="pageResult.totalCount"/>条记录，
		                 	当前第 <s:property value="pageResult.pageNo"/>页，
		                 	共 <s:property value="pageResult.totalPageCount"/> 页 &nbsp;&nbsp;
		                 	<s:if test="pageResult.pageNo > 1">
		                            <a href=" javascript:doGoPage(<s:property value='pageResult.pageNo-1'/>) ">上一页</a>&nbsp;&nbsp;
		                    </s:if>
		                    <s:if test="pageResult.pageNo < pageResult.totalPageCount">
		                            <a href=" javascript:doGoPage(<s:property value='pageResult.pageNo+1'/>) ">下一页</a>
		                    </s:if>
		                    <!-- onkeypress="if(event.keyCode == 13){doGoPage(this.value);}"回车 -->
							到&nbsp;<input id="pageNo" name="pageNo" type="text" style="width: 30px;" onkeypress="if(event.keyCode == 13){doGoPage(this.value);}" min="1"
							max="" value="<s:property value='pageResult.pageNo'/>" /> &nbsp;&nbsp;
					    </td>
					</tr>
				</table>
			</s:if>
			<s:else>
				暂无数据！
			</s:else>
			<script type="text/javascript">
				function doGoPage(pageNo){
					//所有调转的页数都转化为表单提交
					document.getElementById("pageNo").value = pageNo;
					document.forms[0].submit();
				}
			</script>
        </div>